package io.kiki.sba.registry.common.model.dataserver;

import io.kiki.sba.registry.common.model.ClientInterfaceId;
import lombok.Getter;
import lombok.Setter;

/**
 * request to get specific data
 */
@Getter
public class GetDataRequest extends AbstractSlotRequest {

    private static final long serialVersionUID = 1L;


    private final String dataInfoId;


    private final String dataCenter;

    @Setter
    private String[] acceptEncodes;

    public GetDataRequest(ClientInterfaceId clientInterfaceId, String dataInfoId, String dataCenter, int slotId) {
        super(slotId, clientInterfaceId);
        this.dataInfoId = dataInfoId;
        this.dataCenter = dataCenter;
    }


}
